//
//  ViewController.m
//  CoreMotionDemo
//
//  Created by 曹敬贺 on 16/9/14.
//  Copyright © 2016年 北京无限点乐科技有限公司. All rights reserved.
//

#import "ViewController.h"
#import "MotionData.h"

@interface ViewController ()

@property (nonatomic, strong) MotionData * data;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.data = [[MotionData alloc]init];
    [self.data startDeviceMotion];
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
